From: Richard M. Stallman Date: Fri, 4 Feb 1994 20:41:54 +0000 (+0000) Subject: (kbd_buffer_get_event): Pass 1 to read_avail_input. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~93281 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=bedae5a588b7f8968821cfa09071cd59e69be624;p=emacs.git (kbd_buffer_get_event): Pass 1 to read_avail_input. --- diff --git a/src/keyboard.c b/src/keyboard.c index e53dbda540e..da4ca46b676 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1943,9 +1943,8 @@ kbd_buffer_get_event () wait_reading_process_input (0, 0, minus_one, 1); if (!interrupt_input && EVENT_QUEUES_EMPTY) - { - read_avail_input (0); - } + /* Pass 1 for EXPECT since we just waited to have input. */ + read_avail_input (1); } #endif /* not VMS */ }